package org.x4444.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "ORDERP")
public class OrderP implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6918467922463819943L;

	Integer id;
	
	String client;
	String product;
	int count;
	public OrderP() {
		super();
	}
	
	public OrderP(Integer id, String client, String product, int count) {
		super();
		this.id = id;
		this.client = client;
		this.product = product;
		this.count = count;
	}
	
	@Id
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getClient() {
		return client;
	}
	public void setClient(String client) {
		this.client = client;
	}
	public String getProduct() {
		return product;
	}
	public void setProduct(String product) {
		this.product = product;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	
}
